home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-08-16 | 3.4 KB | 114 lines | [TEXT/MPS ] |
- //========================================================================================
- //
- // File: Defines.k
- // Release Version: $ ODF 1 $
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
- #ifndef DEFINES_K
- #define DEFINES_K
-
- #ifndef FWMENU_K
- #include "FWMenu.k"
- #endif
-
- //-------------------------------------------------------------------------------------
- // Uncomment the following three lines, and define them appropriately!!
- // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
- // to be 1. Otherwise define it to be 0.
- // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
- // 1 to enable the extensions manager. Otherwise, define it to be 0.
- // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
- // define it to be zero. Note that if your part is scriptable is must support
- // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
-
- #define FW_SUPPORTS_EMBEDDING 0
- #define FW_SUPPORTS_EXTENSIONS 0
- #define FW_SUPPORTS_SCRIPTING 0
-
- #ifndef FW_SUPPORTS_EMBEDDING
- #error You must define FW_SUPPORTS_EMBEDDING to be 0 or 1 (immediately above)
- #endif
-
- #ifndef FW_SUPPORTS_EXTENSIONS
- #error You must define FW_SUPPORTS_EXTENSIONS to be 0 or 1 (immediately above)
- #endif
-
- #ifndef FW_SUPPORTS_SCRIPTING
- #error You must define FW_SUPPORTS_SCRIPTING to be 0 or 1 (immediately above)
- #endif
-
- //-------------------------------------------------------------------------------------
- // Part Icon ID
- #define kPartIconID 128
-
- //-------------------------------------------------------------------------------------
- // Menu Bar
- #define kMenuBar 1024
- #define kAboutBox 1024
-
- //-------------------------------------------------------------------------------------
- // Strings
- #define kIntlTestPartStrings 1000
-
- #define kFirstString 1
- #define kMacString 2
- #define kWinString 3
- #define kBlankString 4
-
- #ifdef FW_BUILD_MAC
- #define kPlatformString kMacString
- #endif
- #ifdef FW_BUILD_WIN
- #define kPlatformString kWinString
- #endif
-
- #define kIntlTestUndoStrings 1002
-
- #define kUndoDragTextMsg 1
- #define kRedoDragTextMsg 2
- #define kUndoDropTextMsg 3
- #define kRedoDropTextMsg 4
- #define kUndoClearTextMsg 5
- #define kRedoClearTextMsg 6
- #define kUndoCutTextMsg 7
- #define kRedoCutTextMsg 8
- #define kUndoPasteTextMsg 9
- #define kRedoPasteTextMsg 10
-
- //-------------------------------------------------------------------------------------
- // About box Alert ID
- #define kIntlTestAboutBoxID 5000
-
- //-------------------------------------------------------------------------------------
- // Part Info
- #define kPartInfoID 1024
-
- //-------------------------------------------------------------------------------------
- // Command IDs
- #define cFirstCommand FW_kFirstUserCommandID
- #define cSecondCommand cFirstCommand + 1
- #define cSystemFont cSecondCommand + 1
- #define cDefaultFont cSystemFont + 1
- #define cInlineInput cDefaultFont + 1
-
- //-------------------------------------------------------------------------------------
- // IDs for EditViews
- #define kEnglishEditView 1
- #define kJapaneseEditView 2
- #define kTextEditView 3
-
- //-------------------------------------------------------------------------------------
- // IDs for Test Strings
- #define kDefaultTextStringID 2000
- #define kDefaultEngStringID 2001
- #define kDefaultJapStringID 2002
-
- // Resource type for test FW_RStrings
- #define TESTSTRINGRES 'TEst'
-
- #endif
-
-